package com.example.tms.mapper;


import com.example.tms.bean.CarView;
import com.example.tms.bean.RepairView;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RepairVMapper extends  JpaRepository<RepairView, Long>{



    Page<RepairView> findAll(Specification<RepairView> spec, Pageable pageable);

    //查询车辆信息（车辆id）
    RepairView findByRepairIdAndSfcz(String repairId, boolean sfcz);


}
